//
//  YWSelectContactTableViewController.h
//  maintain
//
//  Created by Kyo on 16/8/29.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <UIKit/UIKit.h>
@class YWHandler;

@protocol YWContactVCSelectContactDelegate <NSObject>
@optional
- (void)selectSingleContact:(YWHandler*)contact;
- (void)selectMultipleContact:(NSArray*)contactArray;
@end

@interface YWSelectContactTableViewController : UITableViewController
@property (nonatomic, weak) id<YWContactVCSelectContactDelegate> delegate;
//楼盘id
@property (nonatomic, copy) NSString *buildingId;
//是否是多选(设置yes，ownContacts同时也赋值)
@property (nonatomic, assign) BOOL isMultiSelect;
//已经选择的联系人
@property (nonatomic, copy) NSArray *ownContacts;
//设置titleType
@property (nonatomic, copy) NSString * titleName;

//----在添加任务参与人时候用于过滤到以下这三类人
//创建人,执行人,报障人数组
@property (nonatomic, strong) NSArray *allJoinUser;

@end
